package cn.wolfcode.es.service.impl;

import cn.wolfcode.es.domain.DestinationES;
import cn.wolfcode.es.repository.DestinationEsRepository;
import cn.wolfcode.es.service.IDestinationEsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DestinationEsServiceImpl implements IDestinationEsService {
    @Autowired
    private DestinationEsRepository repository;

    @Override
    public void save(DestinationES destinationES) {
        repository.save(destinationES);
    }
}
